package org.neuedu.ssmp.crm.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.additional.query.impl.LambdaQueryChainWrapper;
import org.neuedu.ssmp.crm.entity.Chances;
import org.neuedu.ssmp.crm.entity.SysUser;
import org.neuedu.ssmp.crm.entity.vo.ResponseEntity;
import org.neuedu.ssmp.crm.mapper.ChancesMapper;
import org.neuedu.ssmp.crm.mapper.SysUserMapper;
import org.neuedu.ssmp.crm.service.IChancesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
import java.util.Objects;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author MoonHolder
 * @since 2019-12-09
 */
@Service
public class ChancesServiceImpl extends ServiceImpl<ChancesMapper, Chances> implements IChancesService {
    @Override
    public Chances lists(Integer id) {
        return baseMapper.selectById(id);
    }

    @Override
    public List<Chances> page() {
        return baseMapper.page();
    }
}
